const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  // 打包时候去掉map文件
  productionSourceMap: false,
  transpileDependencies: true,
});
module.exports = {
  //关闭eslint
  lintOnSave: false,
  devServer: {
    proxy: {
      //代理路由器检测到/api就会去找后台服务器拿数据
      '/api': {
        target: 'http://gmall-h5-api.atguigu.cn',
      }
    }
  },
}

